import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },

  {path: '/about',component:()=>import('../views/AboutView.vue')},
  {path: '/a',component:()=>import('../views/AView.vue')},
  {path: '/b',component:()=>import('../views/BView.vue')},
  {path: '/c',component:()=>import('../views/CView.vue')},
  {path: '/d',component:()=>import('../views/DView.vue')},
  {path: '/e',component:()=>import('../views/EView.vue')},
  {path: '/f',component:()=>import('../views/FView.vue')},
  {path: '/g',component:()=>import('../views/GView.vue')},
  {path: '/h',component:()=>import('../views/HView.vue')},
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
